package com.iengoo.freshdrp.service.service.impl;

import com.iengoo.freshdrp.service.entity.Goods;
import com.iengoo.freshdrp.service.mapper.GoodsMapper;
import com.iengoo.freshdrp.service.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zpym
 * @CopyRight (C) http://www.iengoo.com
 * @brief
 * @email 122162005@qq.com
 * @date 2019-06-11 17:02
 */
@Service
public class GoodsServiceImpl implements GoodsService {
    @Autowired
    private GoodsMapper goodsMapper;

    public Goods findById(Integer id) {
        return null;
    }

    public Goods findByName(String name) {
        return null;
    }

    public List<Goods> findAll() {
        return null;
    }

    public void create(Goods goods) {
        goodsMapper.create(goods);
    }

    public void deleteById(Integer id) {

    }

    public void updateById(Goods goods) {

    }
}
